package com.leung.machine.mapper;


import com.leung.machine.entity.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 丨一
 * @version 1.0
 * @title OrderMapper
 * @description:
 * @date 2025/9/30 下午5:16
 */

@Mapper
public interface OrderMapper {

    @Insert("insert into `order` (customer_name,order_date,total_amount,status) values (#{customerName},#{orderDate},#{totalAmount},#{status})")
    Integer insert(Order order);

}

